package com.bingxue.edu.management.report.model.query;

import com.bingxue.edu.common.enums.EmployeeTypeEnum;
import com.bingxue.edu.common.enums.TermEnum;
import com.bingxue.edu.management.report.model.entity.MonthlyTeacherLesson;
import com.mybatisflex.annotation.TableRef;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.time.YearMonth;

@Data
@TableRef(MonthlyTeacherLesson.class)
public class MonthlyTeacherLessonQuery {

    @NotNull(message="报表时间不能为空")
    @Schema(description = "报表时间")
    private YearMonth month;

    @NotNull(message = "老师类型不能为空")
    @Schema(description = "老师类型")
    private EmployeeTypeEnum teacherType;

    @Schema(description = "年份")
    private Integer classYear;

    @Schema(description = "学期")
    private TermEnum term;

    @Schema(description = "年级")
    private String grade;

    @Schema(description = "科目")
    private String subject;

}
